// samsting : this file is auto create.

#include "Emr/2015-09-10/ListExecutePlanExecuteRecordNodesResponse.h"

namespace aliyun { namespace Emr {

ListExecutePlanExecuteRecordNodesResponse::ListExecutePlanExecuteRecordNodesResponse() {
}

const string& ListExecutePlanExecuteRecordNodesResponse::ExecutePlanNodeInfo::GetWorkNodeId(void) const {
  return WorkNodeId_;
}

const string& ListExecutePlanExecuteRecordNodesResponse::ExecutePlanNodeInfo::GetWorkNodeName(void) const {
  return WorkNodeName_;
}

const string& ListExecutePlanExecuteRecordNodesResponse::ExecutePlanNodeInfo::GetStartTime(void) const {
  return StartTime_;
}

int64 ListExecutePlanExecuteRecordNodesResponse::ExecutePlanNodeInfo::GetRunTime(void) const {
  return RunTime_;
}

int ListExecutePlanExecuteRecordNodesResponse::ExecutePlanNodeInfo::GetJobType(void) const {
  return JobType_;
}

int64 ListExecutePlanExecuteRecordNodesResponse::ExecutePlanNodeInfo::GetJobId(void) const {
  return JobId_;
}

int64 ListExecutePlanExecuteRecordNodesResponse::ExecutePlanNodeInfo::GetClusterId(void) const {
  return ClusterId_;
}

int ListExecutePlanExecuteRecordNodesResponse::ExecutePlanNodeInfo::GetStatus(void) const {
  return Status_;
}

const std::vector<ListExecutePlanExecuteRecordNodesResponse::ExecutePlanNodeInfo>& ListExecutePlanExecuteRecordNodesResponse::GetexecutePlanNode(void) const {
  return executePlanNode_;
}

int ListExecutePlanExecuteRecordNodesResponse::GetTotalCount(void) const {
  return TotalCount_;
}

int ListExecutePlanExecuteRecordNodesResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int ListExecutePlanExecuteRecordNodesResponse::GetPageSize(void) const {
  return PageSize_;
}

const char* ListExecutePlanExecuteRecordNodesResponse::BaseKey(void) {
  return "ListExecutePlanExecuteRecordNodesResponse";
}

void ListExecutePlanExecuteRecordNodesResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int executePlanNode__length = 0;
  UnmarshallerInt(executePlanNode__length, response_map, "ListExecutePlanExecuteRecordNodesResponse.executePlanNode.Length");
  if(executePlanNode__length >= 0) {
    executePlanNode_.resize(executePlanNode__length);
    for(int i1 = 0; i1 < executePlanNode__length; i1++) {
      UnmarshallerString(executePlanNode_[i1].WorkNodeId_, response_map, "ListExecutePlanExecuteRecordNodesResponse.executePlanNode["+string_ValueOfInt(i1)+"].WorkNodeId");
      UnmarshallerString(executePlanNode_[i1].WorkNodeName_, response_map, "ListExecutePlanExecuteRecordNodesResponse.executePlanNode["+string_ValueOfInt(i1)+"].WorkNodeName");
      UnmarshallerString(executePlanNode_[i1].StartTime_, response_map, "ListExecutePlanExecuteRecordNodesResponse.executePlanNode["+string_ValueOfInt(i1)+"].StartTime");
      UnmarshallerInt64(executePlanNode_[i1].RunTime_, response_map, "ListExecutePlanExecuteRecordNodesResponse.executePlanNode["+string_ValueOfInt(i1)+"].RunTime");
      UnmarshallerInt(executePlanNode_[i1].JobType_, response_map, "ListExecutePlanExecuteRecordNodesResponse.executePlanNode["+string_ValueOfInt(i1)+"].JobType");
      UnmarshallerInt64(executePlanNode_[i1].JobId_, response_map, "ListExecutePlanExecuteRecordNodesResponse.executePlanNode["+string_ValueOfInt(i1)+"].JobId");
      UnmarshallerInt64(executePlanNode_[i1].ClusterId_, response_map, "ListExecutePlanExecuteRecordNodesResponse.executePlanNode["+string_ValueOfInt(i1)+"].ClusterId");
      UnmarshallerInt(executePlanNode_[i1].Status_, response_map, "ListExecutePlanExecuteRecordNodesResponse.executePlanNode["+string_ValueOfInt(i1)+"].Status");
    } // for(int i1 = 0; i1 < executePlanNode__length; i1++) {
  } // if(executePlanNode__length >= 0) {

  UnmarshallerInt(TotalCount_, response_map, "ListExecutePlanExecuteRecordNodesResponse.TotalCount");
  UnmarshallerInt(PageNumber_, response_map, "ListExecutePlanExecuteRecordNodesResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "ListExecutePlanExecuteRecordNodesResponse.PageSize");
}


} } // namespace aliyun { namespace Emr {

// end of file 
